type go.uber.org/zap/zapcore.sliceArrayEncoder
30 uses
go.uber.org/zap/zapcore (current package)
console_encoder.go#L31: var _sliceEncoderPool = pool.New(func() *sliceArrayEncoder {
console_encoder.go#L32: return &sliceArrayEncoder{
console_encoder.go#L37: func getSliceEncoder() *sliceArrayEncoder {
console_encoder.go#L41: func putSliceEncoder(e *sliceArrayEncoder) {
memory_encoder.go#L46: arr := &sliceArrayEncoder{elems: make([]interface{}, 0)}
memory_encoder.go#L137: type sliceArrayEncoder struct {
memory_encoder.go#L141: func (s *sliceArrayEncoder) AppendArray(v ArrayMarshaler) error {
memory_encoder.go#L142: enc := &sliceArrayEncoder{}
memory_encoder.go#L148: func (s *sliceArrayEncoder) AppendObject(v ObjectMarshaler) error {
memory_encoder.go#L155: func (s *sliceArrayEncoder) AppendReflected(v interface{}) error {
memory_encoder.go#L160: func (s *sliceArrayEncoder) AppendBool(v bool) { s.elems = append(s.elems, v) }
memory_encoder.go#L161: func (s *sliceArrayEncoder) AppendByteString(v []byte) { s.elems = append(s.elems, string(v)) }
memory_encoder.go#L162: func (s *sliceArrayEncoder) AppendComplex128(v complex128) { s.elems = append(s.elems, v) }
memory_encoder.go#L163: func (s *sliceArrayEncoder) AppendComplex64(v complex64) { s.elems = append(s.elems, v) }
memory_encoder.go#L164: func (s *sliceArrayEncoder) AppendDuration(v time.Duration) { s.elems = append(s.elems, v) }
memory_encoder.go#L165: func (s *sliceArrayEncoder) AppendFloat64(v float64) { s.elems = append(s.elems, v) }
memory_encoder.go#L166: func (s *sliceArrayEncoder) AppendFloat32(v float32) { s.elems = append(s.elems, v) }
memory_encoder.go#L167: func (s *sliceArrayEncoder) AppendInt(v int) { s.elems = append(s.elems, v) }
memory_encoder.go#L168: func (s *sliceArrayEncoder) AppendInt64(v int64) { s.elems = append(s.elems, v) }
memory_encoder.go#L169: func (s *sliceArrayEncoder) AppendInt32(v int32) { s.elems = append(s.elems, v) }
memory_encoder.go#L170: func (s *sliceArrayEncoder) AppendInt16(v int16) { s.elems = append(s.elems, v) }
memory_encoder.go#L171: func (s *sliceArrayEncoder) AppendInt8(v int8) { s.elems = append(s.elems, v) }
memory_encoder.go#L172: func (s *sliceArrayEncoder) AppendString(v string) { s.elems = append(s.elems, v) }
memory_encoder.go#L173: func (s *sliceArrayEncoder) AppendTime(v time.Time) { s.elems = append(s.elems, v) }
memory_encoder.go#L174: func (s *sliceArrayEncoder) AppendUint(v uint) { s.elems = append(s.elems, v) }
memory_encoder.go#L175: func (s *sliceArrayEncoder) AppendUint64(v uint64) { s.elems = append(s.elems, v) }
memory_encoder.go#L176: func (s *sliceArrayEncoder) AppendUint32(v uint32) { s.elems = append(s.elems, v) }
memory_encoder.go#L177: func (s *sliceArrayEncoder) AppendUint16(v uint16) { s.elems = append(s.elems, v) }
memory_encoder.go#L178: func (s *sliceArrayEncoder) AppendUint8(v uint8) { s.elems = append(s.elems, v) }
memory_encoder.go#L179: func (s *sliceArrayEncoder) AppendUintptr(v uintptr) { s.elems = append(s.elems, v) }
|
The pages are generated with Golds v0.6.7. (GOOS=linux GOARCH=amd64)
Golds is a Go 101 project developed by Tapir Liu.
PR and bug reports are welcome and can be submitted to the issue list.
Please follow @Go100and1 (reachable from the left QR code) to get the latest news of Golds. |